package com.qingmi.farmer.data.model;

import com.google.gson.annotations.SerializedName;

/**
 * 运送方式
 */
public class Delivery {

    @SerializedName("SupplyTypeId")
    private int id;

    @SerializedName("SupplyName")
    private String name;

    @SerializedName("Price")
    private double price;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return name;
    }
}
